*{
  margin: 0 ;
  padding: 0;
}
html,body{
  font-size: 16vw;

}
.in{
  overflow: hidden;
  position: relative;
  // min-height: 10rem;
}
.header {
  position:sticky;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 50;
  background: rgb(45, 66, 193);
  
}
.header{
  display: flex;
  justify-content: space-around;
  // justify-self:center;
  // flex-direction: row;
  // flex-wrap: wrap;
  // align-content: flex-end;
  // align-items: baseline;
  width: 100%;
  height: 0.8rem;
  .header-heart{
    display: flex;
    align-content: center;
    flex-wrap: wrap;
    // justify-content: space-between;
    justify-content:center;
    align-items: center;
    // width: 80%;
    // width: 100%;
    height: 0.8rem;
    position: relative;
    input{
      width: 4rem;
      height: 0.4rem;
      text-indent: 2rem;
    }
    i{
      width: 0.4rem;
      height: 0.4rem;
      // border: 1px solid black;
      position: relative;
      left: -4rem;
      top: 0.04rem;
      display: block;
      background-image: url(../img/search.png);
      background-position: center;
      background-repeat: no-repeat;
      background-size: cover;
      z-index: 10;
      // border: 1px solid black;

    }
    img{
      width: 0.4rem;
      height: 0.4rem;
      margin-left: -0.2rem;

    }
    span{
      width: 0.4rem;
      height: 0.4rem;
      background-image: url(../img/erji.png);
      background-position: center;
      background-repeat: no-repeat;
      background-size: cover;
      margin-left: 0.1rem;
    }
  }
}

.notice{
  width: 100%;
  height: 0.4rem;
  background-color: rgb(45, 66, 193);
  display: flex;
  position: relative;
  justify-content: space-around;
  padding-bottom: 0.3rem;
  .notice2{
    width: 85%;
    height: 0.4rem;
    font-size: 12px;
    display: flex;
    align-content: center;
    // overflow: hidden;
    // text-overflow:ellipsis;
    background-color: white;
    position: relative;
    p{
      width: 85%;
      height: 0.2rem;
      overflow: hidden;
      text-overflow:ellipsis;
      position: relative;
      left: 0.4rem;
    }
    i{
      width: 0.2rem;
      height: 0.2rem;
      // display: block;
      background-image: url(../img/58afa01628bd.png_100Q.png);
      background-position: center;
      background-repeat: no-repeat;
      background-size: cover;
      margin-left: 0.1rem;
      margin-top: 0.1rem;
      // position: relative;
  
      // left: 0.4rem;
    }
  }
}

// 轮播图
.nack{
  width: 100%;
  height: 2.5rem;
  background-image: url(../img/0cc4899e8993.jpg_100Q.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-position:100%;
  background-repeat: no-repeat;
  background-size: cover;
  padding-bottom: 0.3rem;
} 
.swiper{
  width: 80%;
  height: 2.5rem;
  border-radius: 3%;
  .swiper-wrapper{
    width: 80%;
    height: 2rem;
   
    .swiper-slide{
      width: 80%;
      height: 2.5rem;
      img{
        width: 100%;
        height: 100%;
      }
    }
    
  }
  
}
// <!-- 商品种类 -->
.species{
  background-image: url(../img/3c12136b39e3.jpg_100Q.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  width: 100%;
  height: 1.5rem;
  display: flex;
  flex-direction: row;
  align-content: center;
  flex-wrap: nowrap;
  justify-content: center;
  // border: 1px solid black;
  .species-top{
    background-image: url(../img/4ff97065f20c.gif_686w_180h_100Q.gif);
    height: 1.5rem;
    width: 90%;
    // text-align: center;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    // margin-left: 0.2rem;
    // margin-right: 0.2rem;
    border-radius: 3%;
  }
  
}
.species-foot{
    height: 1.5rem;
    background-image: url(../img/2686fc56d477.jpg_100Q.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    font-size: 12px;
    display: grid;
    grid-template-columns:repeat(5,1fr); // 宽度平均分成四等份 
    grid-template-rows: repeat(2,1fr);
    // justify-content: center;
    // align-content: center;
    justify-self: center;
    align-self: center;
    figure{
      width: 0.8rem;
      height: 0.75rem;
      display: grid;
      justify-self: center;
      align-self: center;
      justify-content: space-around;
      justify-items: center;
      img{
        width: 0.5rem;
        height: 0.5rem;
      
      }
      figcaption{
        height: 0.25rem;
        // text-align: center;
        line-height: 0.25rem;
      }
  }
}
.produces{
  width: 100%;
  background-color: #f6f6f6;
  display: grid;
  grid-template-columns:repeat(2,1fr);
  min-height: 10rem;
  font-size: 14px;
  grid-column-end: 10px;
  grid-row-end: 10px;
  grid-row-start: 10px;
  .produce{
    position: relative;
    width: 3rem;
    height: 4rem;
    background-color: #fff;
    margin-top: 0.2rem;
    margin-left: 10px;
    .p1{
      position: static;
      float: left;
      width: 1rem;
      line-height: 0.25rem;
      height: 0.25rem;
     text-align: center;
      background-color: #ff6600;
      color: #fff;
      font-size: 12px;
      position: absolute;
      top: 0;
      left: 0;
     
      border-top-left-radius: 10%;
    }
    .p2{
      float: left;
      width: 1rem;
      text-align: center;
      line-height: 0.25rem;
      height: 0.25rem;
      font-size: 10px;
      color: #FFE7B9;
      margin-left: 1rem;
      text-align: center;
      box-sizing: border-box;
      border-bottom-right-radius: 10%;
      background-image: linear-gradient(156deg, #484D5E 0%, #10121C 100%);
    }
  }
  p{
    text-align: center;

  }
  .price{
    position: relative;
    em{
      color: #ff6600;
    }
    i{
      color: gray;
      text-decoration: line-through;
      position: relative;
      left:-0.5rem;
      top: 0.2rem;
    }
    span{
      position: relative;
      left:1.4rem;
      top: 0.25rem;
      border-radius: 50%;
      background-color: #089ce2;
      width: 0.4rem;
      height: 0.4rem;
      display: inline-block;
      color: white;
      text-align: center;
      line-height: 0.4rem;
    }
  }
 
}

/* 尾 */
.footer{
  position: static;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height:0.8rem ;
  font-size: 14px;
  color: gray;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  // grid-template-rows: repeat(1, 1fr);
  i{
    width: 0.4rem;
    height: 0.4rem;
    display: inline-block;
    font-size: 16px;
    text-align: center;
    line-height: 0.4rem;
}
}